<?php

/** libraries
 * http://docs.joomla.org/JToolBarHelper
 */

// No direct access to this file
defined('_JEXEC') or die('Restricted access');

// import Joomla view library
jimport('joomla.application.component.view');

class bgViewbg extends JView{
	// Overwriting JView display method

	function display($tpl = null) 
	{
        $task = &JRequest::getVar('task');
        switch($task){
        	case 'manual':
                $this->setLayout('manual');
            break;
            case 'environment':
                $this->setLayout('environment');
            break;
            case 'sitemap':
                $this->setLayout('sitemap');
            break;
            default:
                $this->setLayout('bg_overview');
        }
		parent::display();
	}
}




